package sample0001;

import sample0001.InnerClassDemo01.InnerClass;

public class Demo01Executor {

	public static void main(String[] args) {
		InnerClassDemo01 ice = new InnerClassDemo01();
		InnerClass iceic = (new InnerClassDemo01()).new InnerClass();	//内部类对象的创建方法1
		//InnerClassDemo01.InnerClass iceic = ice.new InnerClass(); //内部类对象的创建方法2
		iceic.Display1();
		
		InnerClassDemo01.InnerClass iceic2 = ice.createInnerClass();
		iceic2.Display2();
	}

}
